from analysis.download.impl.DA51job import DA51job
from crawler_core.constant.constants import Constants



class DownloadAnalysisProxy(object):

	def __init__(self):
		pass

	def analysis_cache(self, data):
		if data[Constants.CACHE_DOWNLOAD_TYPE] == Constants.CHANNEL_TYPE_51JOB:
			result = DA51job().analysis_cache(data[Constants.CACHE_DOWNLOAD_DATA])
		else:
			pass
		return result

